class Exception
  def inspect
    begin 
      message + "\n" + application_backtrace.join("\n")
    rescue => e
      message
    end
  end
end